Solved: extension of illegal characters in file upload.js | 您所在的位置:网站首页 › Solved File Upload types › Solved: extension of illegal characters in file upload.js |
Hi @Shetty1191 ,
To achieve this, we would need to overlay the fileupload.js in : /libs/dam/gui/coral/components/commons/fileupload/clientlibs/fileupload/js/fileupload.js
After overlaying that in apps, you would need to: Add the values/characters which you need to restrict in the _ILLEGAL_FILENAME_CHARS variable (separate them with ,) on line103. - This is the variable which takes care of all the restricted words.
I think the DamFileUpload and DamFolderUpload both use this same variable.
View solution in original post |
CopyRight 2018-2019 实验室设备网 版权所有 |